package chap3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class CarBuy {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("查一下银行存款(万为单位)：");
        int m = sc.nextInt();
        if (m >= 100) {
            System.out.println("喜提保时捷");
        } else if (m >= 20 && m<50) {
            System.out.println("买个比亚迪");
        } else if (m >= 50) {
            System.out.println("喜提Model Y 特斯拉");
        } else if (m >= 10) {
            System.out.println("江淮");
        } else {
            System.out.println("买个永久二八大杠");
        }
    }
}
